计算机与现代化 ›› 2010, Vol. 1 ›› Issue (01): 66-69.doi: 10.3969/j.issn.1006-2475.2010.01.019

• 网络与通信 • 上一篇    下一篇

基于DWR与EXT的Ajax应用研究与实现

李为健,卞艺杰   

  1. 河海大学商学院信息管理系,江苏 南京 211100
  • 收稿日期:2009-09-17 修回日期:1900-01-01 出版日期:2010-01-15 发布日期:2010-01-15

Research and Implementation of Ajax Based on DWR and EXT

LI Wei-jian,BIAN Yi-jie   

  1. Department of Information Management, Business School, Hohai University, Nanjing 211100, China
  • Received:2009-09-17 Revised:1900-01-01 Online:2010-01-15 Published:2010-01-15

摘要: DWR是一款非常优秀的Ajax框架,它封装了浏览器与服务器进行异步通信的细节,具有客户端异步访问服务器端Java对象的机制,但其在操作DOM和构建丰富UI效果的Web界面方面能力比较有限。而EXT是一款可以开发丰富的Web界面的Ajax框架,恰好可以用来弥补DWR的缺陷。本文讨论DWR与EXT的技术核心及各自优缺点,并结合实例研究如何整合这两种框架来发挥Ajax技术的最佳效果,提高开发效率和改善用户体验。

关键词: 直接Web远程调用, EXT, Ajax

Abstract: DWR is a excellent framework of Ajax, which encapsulates the asynchronous communication details between browser and server. It is possible for clientside to access the Java object of serverside asynchronously, but its capability of operating DOM and building a rich UI Web interface is limited. However, EXT which is also a rich Ajax framework, is able to develop rich Web interface and makes up the deficiencies of DWR. This paper discusses the core technique of DWR and EXT, and introduces how to combine them to play the best effect, so as to improve efficiency of development and the user’s experience.

Key words: DWR(Direct Web Remoting), EXT, Ajax(Asynchronous JavaScript and XML)

中图分类号: